package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum StatusCourseEnum {

    //课程状态，1开售，0未开售
    NO(0,"未开售"),
    IN(1,"开售");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    StatusCourseEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
